package com.walnut.lom_system.domain.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 记录每个部门每周的总结情况
 * @author chenhetao
 * @TableName week_summary
 */
@TableName(value ="week_summary")
@Data
public class WeekSummary implements Serializable {
    /**
     * 
     */
    @TableId(value = "id")
    private Long id;

    /**
     * 数据字典查找对应学年
     */
    @TableField(value = "year")
    private Integer year;

    /**
     * 
     */
    @TableField(value = "week")
    private Integer week;

    /**
     * 
     */
    @TableField(value = "type")
    private Integer type;

    /**
     * 
     */
    @TableField(value = "time")
    private Integer time;

    /**
     * 
     */
    @TableField(value = "description")
    private String description;

    /**
     * 
     */
    @TableField(value = "image_url")
    private String imageUrl;

    /**
     * 
     */
    @TableField(value = "create_time")
    private Date createTime;

    /**
     * 
     */
    @TableField(value = "creator_id")
    private Long creatorId;

    /**
     * 
     */
    @TableField(value = "department_id")
    private Integer departmentId;

    /**
     * 0:已创建,1:整合,2:审核,3:归档
     */
    @TableField(value = "state")
    private Integer state;

    /**
     * 0:正常,-1:删除
     */
    @TableField(value = "deleted")
    private Integer deleted;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}